package com.leige.store.model;

import javax.persistence.*;

@Table(name = "product_attributes")
public class ProductAttributes extends Object {
    @Id
    @Column(name = "Product_id")
    private Long productId;

    @Id
    @Column(name = "attributes_KEY")
    private Long attributesKey;

    private String attributes;

    /**
     * @return Product_id
     */
    public Long getProductId() {
        return productId;
    }

    /**
     * @param productId
     */
    public void setProductId(Long productId) {
        this.productId = productId;
    }

    /**
     * @return attributes_KEY
     */
    public Long getAttributesKey() {
        return attributesKey;
    }

    /**
     * @param attributesKey
     */
    public void setAttributesKey(Long attributesKey) {
        this.attributesKey = attributesKey;
    }

    /**
     * @return attributes
     */
    public String getAttributes() {
        return attributes;
    }

    /**
     * @param attributes
     */
    public void setAttributes(String attributes) {
        this.attributes = attributes == null ? null : attributes.trim();
    }
}